<template>
  <div>
    <div class="userinfo flex-row-space-between">
      <div class="flex-row-start">
        <img
          class="avatar"
          src="https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1027245443,3552957153&fm=26&gp=0.jpg"
        >

        <div>
          <div class="username">用户A</div>
          <div>电话：156 1555 5335</div>
        </div>
      </div>
      <img class="dianhua" src="@/assets/dianhua.png">
    </div>

    <div class="big-title">待处理订单</div>
    <div v-for="(item, index) in orderList" :key="index" class="order-list">
      <div class="order-item-top flex-row-space-between">
        <div class="flex-row-start">
          <img src="https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1027245443,3552957153&fm=26&gp=0.jpg">
          <div>我</div>
        </div>
        <div>待接单</div>
      </div>
      <div style="margin-top: 10px;">
        <span>预约 </span>
        <span class="time">2020-07-08 12:00</span>
        <span> 上门回收服务</span>
      </div>
      <div class="type flex-row-space-between">
        <div>类别：塑料类</div>
        <!-- <div class="flex-row-end">
          <div class="btn mgr-20">取消</div>
          <div class="btn btn-ok">接单</div>
        </div> -->
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      orderList: [1, 2, 3, 4, 5, 1, 2, 3, 4, 5]
    }
  }
}
</script>

<style scoped>
.userinfo{
  background: #fff;
  border-radius: 10px;
  margin: 20px;
  padding: 35px;
  font-size: 34px;
}

.username{
  margin-bottom: 10px;
}
.avatar {
  height: 110px;
  width: 110px;
  border-radius: 50%;
  margin-right: 30px;
}

.dianhua{
  height: 80px;
  width: 80px;
  border-radius: 50%;
  background: #5edb87;
}

.big-title {
  margin: 40px 30px;
  font-size: 40px;
  color: #222222;
  font-weight: bold;
}
.order-list {
  font-size: 30px;
  color: #444444;
  margin: 20px;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  line-height: 2;
}

.order-list .order-item-top img {
  width: 60px;
  height: 60px;
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
  margin-right: 20px;
}

.order-list .time {
  color: #5edb87;
}

.order-list .type {
  font-size: 35px;
}
</style>
